package oop;

public class Fun {
    public static int fn(int n)
    {
        if(n==0)
        {
            return 1;
        }
        else if(n==1)
        {
            return 1;
        }
        else
        {
            return fn(n-1)+fn(n-2);
        }
    }

    public static void main(String[] args) {
        System.out.println(fn(10));
    }
}
